import React, { Component } from 'react';
import { View, Text } from 'react-native';

export default class BaseHeader extends Component {
    constructor(props) {
        super(props);
        this.state = {
        };
    }
    render() {
        let { title } = this.props
        return (
            <View style={{ backgroundColor: "red", paddingLeft: 12, width: '100%' }}>
                <Text style={{ color: 'white', fontSize: 32, fontWeight: 'bold' }}>{title}</Text>
            </View>
        );
    }
}
